package top.infopub.job.bpa.service.impl;

import java.math.BigDecimal;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import top.infopub.generic.GenericDao;
import top.infopub.generic.GenericServiceImpl;
import top.infopub.job.bpa.dao.ProSettleDao;
import top.infopub.model.bpa.ProSettle;
import top.infopub.job.bpa.service.ProSettleService;

@Service
public class ProSettleServiceImpl extends GenericServiceImpl<ProSettle, String> implements
		ProSettleService {

	@Autowired
	private ProSettleDao proSettleDao;
	
	@Override
	public GenericDao<ProSettle, String> getDao() {
		return proSettleDao;
	}
	
	@Override
    public int count(String proCode) {
        return proSettleDao.count(proCode);
    }

    @Override
    public BigDecimal selectCaeGrossAdjust(Map<String, Object> where) {
        return proSettleDao.selectCaeGrossAdjust(where);
    }

}